﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="com.util.db"/>

<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
<script type="text/javascript" src="js/popup.js"></script>
<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<TITLE>修改研学中介</TITLE>
	    
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
-->
</style>
       
	</head>


	<body>
			<form action="updateLvyougongsi2.do" name="form1" method="post">
				      <table width="100%" border="1" align="center" cellpadding="3" cellspacing="1"  style="border-collapse:collapse" bgcolor="#F2FDFF">
						<tr bgcolor="#E7E7E7">
							<td height="20" colspan="2" background="images/table_header.gif">修改研学中介<input type="hidden" name="id" value="${lvyougongsi.id}" /></td>
						</tr>
						<tr ><td width="200">公司编号：</td><td><input name='gongsibianhao' type='text' id='gongsibianhao' value='' onblur='hsgcheck()' style='border:solid 1px #000000; color:#666666' />&nbsp;*<label id='clabelgongsibianhao' /></td></tr>						<tr ><td width="200">公司名称：</td><td><input name='gongsimingcheng' type='text' id='gongsimingcheng' value='' onblur='checkform()' style='border:solid 1px #000000; color:#666666' />&nbsp;*<label id='clabelgongsimingcheng' /></td></tr>						<tr ><td width="200">LOGO：</td><td><input name='LOGO' type='text' id='LOGO' size='50' value='' onblur='' style='border:solid 1px #000000; color:#666666' />&nbsp;<input type='button' value='上传' onClick="up('LOGO')" style='border:solid 1px #000000; color:#666666'/></td></tr>						<tr ><td width="200">服务热线：</td><td><input name='fuwurexian' type='text' id='fuwurexian' value='' onblur='' style='border:solid 1px #000000; color:#666666' /></td></tr>						<tr ><td width="200">所在城市：</td><td><select name='suozaichengshi' id='suozaichengshi' style=' height:19px; border:solid 1px #000000; color:#666666'><%=connDbBean.hsggetoption("chengshixinxi","chengshi")%></select></td></tr>						<tr ><td width="200">公司地址：</td><td><input name='gongsidizhi' type='text' id='gongsidizhi' value='' onblur='' size='50' style='border:solid 1px #000000; color:#666666' /></td></tr>						<tr ><td width="200">公司简介：</td><td><textarea name='gongsijianjie' cols='50' rows='5' id='gongsijianjie' onblur='' style='border:solid 1px #000000; color:#666666' ></textarea></td></tr>						<tr ><td width="200">密码：</td><td><input name='mima' type='text' id='mima' value='' onblur='checkform()' style='border:solid 1px #000000; color:#666666' />&nbsp;*<label id='clabelmima' /></td></tr>		
		
						<tr align='center'   height="22">
						    <td width="25%"  align="right">&nbsp;
						        
						    </td>
						    <td width="75%"  align="left">
						       <input type="submit" name="querenzhuce" id="querenzhuce" value="提交" onClick="return checkform();"/>
						       <input type="reset" value="重置"/>&nbsp;
						    </td>
						</tr>
						<script language="javascript">document.form1.gongsibianhao.value='${lvyougongsi.gongsibianhao}';</script>						<script language="javascript">document.form1.gongsimingcheng.value='${lvyougongsi.gongsimingcheng}';</script>						<script language="javascript">document.form1.LOGO.value='${lvyougongsi.LOGO}';</script>						<script language="javascript">document.form1.fuwurexian.value='${lvyougongsi.fuwurexian}';</script>						<script language="javascript">document.form1.suozaichengshi.value='${lvyougongsi.suozaichengshi}';</script>						<script language="javascript">document.form1.gongsidizhi.value='${lvyougongsi.gongsidizhi}';</script>						<script language="javascript">document.form1.gongsijianjie.value='${lvyougongsi.gongsijianjie}';</script>						<script language="javascript">document.form1.mima.value='${lvyougongsi.mima}';</script>						
										 </table>
			</form>
   </body>
</html>



<!--hssgchesck-->


<script language=javascript >  
 
 function checkform(){  
 
	var gongsibianhaoobj = document.getElementById("gongsibianhao"); if(gongsibianhaoobj.value==""){document.getElementById("clabelgongsibianhao").innerHTML="&nbsp;&nbsp;<font color=red>请输入公司编号</font>";return false;}else{document.getElementById("clabelgongsibianhao").innerHTML="  "; } 	var gongsimingchengobj = document.getElementById("gongsimingcheng"); if(gongsimingchengobj.value==""){document.getElementById("clabelgongsimingcheng").innerHTML="&nbsp;&nbsp;<font color=red>请输入公司名称</font>";return false;}else{document.getElementById("clabelgongsimingcheng").innerHTML="  "; } 	var mimaobj = document.getElementById("mima"); if(mimaobj.value==""){document.getElementById("clabelmima").innerHTML="&nbsp;&nbsp;<font color=red>请输入密码</font>";return false;}else{document.getElementById("clabelmima").innerHTML="  "; } 	


return true;   
}   
popheight=450;
</script>  
